package com.zjh.service;

import com.zjh.mapper.MenuMapper;
import com.zjh.pojo.Meau;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class MenuService {
    private final MenuMapper menuMapper;

    public List<Meau> getAllMenu(){
        return menuMapper.getAllMenu();
    }
}
